package com.wood.life.service;

import com.night.common.entity.ResultVo;
import com.night.common.entity.life.Goods;
import com.night.common.entity.life.Order;
import com.night.common.entity.life.Question;

import java.util.List;

/**
 * author: dz
 * 2022-10-18-17:58
 */

public interface OrderService {
    ResultVo insert(Goods goods);

    List<Order> getByCondition(Order order);

    Order getById(Integer id);
    void updateById(Order order);

    void deleteById(Integer id);

    List<Order> getByUserId(Integer userId);
}
